package cloud.provider.payment;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @auther xfanonymous
 * @create 2023-12-21 17:15
 *
 * 1. @SpringBootApplication
 * 2. @EnableDiscoveryClient 将当前服务注册到Consul
 * 3. @MapperScan("")  Mapper接口路径扫描 //import tk.mybatis.spring.annotation.MapperScan;
 */

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("cloud.provider.payment.mapper")
public class Main8002 {

    public static void main(String[] args) {
        SpringApplication.run(Main8002.class, args);
    }
}